﻿<%@ Page Language="C#"%>
<script runat="server">
    protected override void OnLoad(EventArgs e)
    {
        base.OnLoad(e);
        
        var category= Ue.Qcdz.Domain.SaleCategorys.SaleCategoryService.GetSaleCategory(new Guid(Request.QueryString["CtId"]));
        if (category != null)
        {     
            //移除产品            
            
            //移除分类
            Ue.Qcdz.Domain.SaleCategorys.SaleCategoryService.RemoveSaleCategory(category);
        }
        if (Request.UrlReferrer != null)
            Response.Redirect(Request.UrlReferrer.ToString(), true);
    }
</script>
